package top.infopub.model.cap;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

public class ContractPledgeDetail {


    private static final long serialVersionUID = 1L;

    /** SGUID */
    private String id;
    /*单据编号*/
    private String codes;
    /*项目编码*/
    private String proCode;
    /*质押合同主表ID*/
    private String contractPledgeId;
    /*质押物所属单位*/
    private String pledgeComp;
    /*质押物名称*/
    private String pledgeName;
    /*质押物证号*/
    private String pledgeNo;
    /*质押物比例或份数*/
    private BigDecimal pledgeNumber;
    /*质押价值（万元）*/
    private BigDecimal pledgeAmount;
    /*登记单位*/
    private String applicantName;
    /*经办人*/
    private String agent;
    /*经办日期*/
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date agentDate;

    /** 添加人 */
    private String addBy;

    /** 添加时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date addTime;

    /** 最后修改人 */
    private String uptBy;

    /** 最后修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date uptTime;
    /*oaId*/
    private String oaId;

    /*关联的审批流程id*/
    private String processId;
    /*当前审批状态 1=审批中 9=审批完成 10=审批终止 0=待提交*/
    private String processStatus;



    /*金融机构*/
    private String setupFinancialId;


    /*担保单位*/
    private String compName;

    /** 金融机构名称 */
    private String dockBank;

    public String getCompName() {
        return compName;
    }

    public void setCompName(String compName) {
        this.compName = compName;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getCodes() {
        return codes;
    }

    public void setCodes(String codes) {
        this.codes = codes;
    }

    public String getProCode() {
        return proCode;
    }

    public void setProCode(String proCode) {
        this.proCode = proCode;
    }

    public String getContractPledgeId() {
        return contractPledgeId;
    }

    public void setContractPledgeId(String contractPledgeId) {
        this.contractPledgeId = contractPledgeId;
    }

    public String getPledgeComp() {
        return pledgeComp;
    }

    public void setPledgeComp(String pledgeComp) {
        this.pledgeComp = pledgeComp;
    }

    public String getPledgeName() {
        return pledgeName;
    }

    public void setPledgeName(String pledgeName) {
        this.pledgeName = pledgeName;
    }

    public String getPledgeNo() {
        return pledgeNo;
    }

    public void setPledgeNo(String pledgeNo) {
        this.pledgeNo = pledgeNo;
    }

    public BigDecimal getPledgeNumber() {
        return pledgeNumber;
    }

    public void setPledgeNumber(BigDecimal pledgeNumber) {
        this.pledgeNumber = pledgeNumber;
    }

    public BigDecimal getPledgeAmount() {
        return pledgeAmount;
    }

    public void setPledgeAmount(BigDecimal pledgeAmount) {
        this.pledgeAmount = pledgeAmount;
    }



    public String getAgent() {
        return agent;
    }

    public void setAgent(String agent) {
        this.agent = agent;
    }

    public Date getAgentDate() {
        return agentDate;
    }

    public void setAgentDate(Date agentDate) {
        this.agentDate = agentDate;
    }

    public String getAddBy() {
        return addBy;
    }

    public void setAddBy(String addBy) {
        this.addBy = addBy;
    }

    public Date getAddTime() {
        return addTime;
    }

    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

    public String getUptBy() {
        return uptBy;
    }

    public void setUptBy(String uptBy) {
        this.uptBy = uptBy;
    }

    public Date getUptTime() {
        return uptTime;
    }

    public void setUptTime(Date uptTime) {
        this.uptTime = uptTime;
    }

    public String getOaId() {
        return oaId;
    }

    public void setOaId(String oaId) {
        this.oaId = oaId;
    }

    public String getProcessId() {
        return processId;
    }

    public void setProcessId(String processId) {
        this.processId = processId;
    }

    public String getProcessStatus() {
        return processStatus;
    }

    public void setProcessStatus(String processStatus) {
        this.processStatus = processStatus;
    }

    public String getApplicantName() {
        return applicantName;
    }

    public void setApplicantName(String applicantName) {
        this.applicantName = applicantName;
    }

    public String getSetupFinancialId() {
        return setupFinancialId;
    }

    public void setSetupFinancialId(String setupFinancialId) {
        this.setupFinancialId = setupFinancialId;
    }

    public String getDockBank() {
        return dockBank;
    }

    public void setDockBank(String dockBank) {
        this.dockBank = dockBank;
    }
}
